<script context="module">
	export function preload({ params }) {
		return {
			slug: params.slug
		};
	}
</script>

<script>
	import { stores } from '@sapper/app';

	const { page } = stores();

	export let slug;
</script>

<h1>{slug} {JSON.stringify($page.query)}</h1>